package mt.dummy;

import java.io.Serializable;

import mt.Order;
import mt.comm.ClientSideMessage;

public class ClientSideMessageDummy implements ClientSideMessage,Serializable {
	
	/** 
	 * Mensagens enviadas do servidor para o cliente e processadas pelo mesmo
	 */
	private static final long serialVersionUID = 1L;
	private Type type;
	private Order order;
	
	public ClientSideMessageDummy(Type type,Order order){
		this.order=order;
		this.type=type;
		
		
	}

	@Override
	public Type getType() {
		
		return type;
	}

	@Override
	public Order getOrder() {
		
		return order;
	}

	@Override
	public String getError() {
	
		return "ERROR ClientSideMessage";
	}

}

